#include "Item.h"
#include <iostream>

const std::string&	Item::getTitle() const
{
  return this->_title;
}

const std::string&	Item::getLink() const
{
  return this->_link;
}

const std::string&	Item::getDescription() const
{
  return this->_description;
}

void			Item::setTitle(const std::string &title)
{
  this->_title = title;
}

void			Item::setLink(const std::string &link)
{
  this->_link = link;
}

void			Item::setDescription(const std::string &description)
{
  this->_description = description;
}

void			Item::dump() const
{
	std::cout << "[Title]" << _title <<  std::endl;
	std::cout << "[link]" << _link <<  std::endl;
	std::cout << "[descr]" << _description <<  std::endl;
}